Smartling\Helpers\GutenbergBlockHelper C

Total Complexity 116
Dependencies 26
Dependents 6
Total lines 612
Lines of code 458
Logical lines of code 273
Comment lines 37
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
sortChildNodesContent()
A
47 8 39
getAttributeValue()
A
53 8 22
isPossibleJson()
S
57 7 16
applyPostTranslationReplacers()
S
51 6 25
replacePreTranslateBlockContent()
S
52 6 24
applyDownloadRules()
S
51 6 24
processTranslation()
S
55 6 20
renderGutenbergBlock()
S
54 6 19
replaceAttributes()
S
54 5 20
loadExternalDependencies()
S
57 5 16
placeBlock()
S
50 4 29
fixAttributeTypes()
S
61 5 12
register()
S
56 4 18
replacePostTranslateBlockContent()
S
57 4 16
addTemporaryRulesFromAcf()
S
57 4 16
replacePostTranslationAttributes()
S
59 4 15
processAttributes()
S
57 3 17
renderTranslatedBlockNode()
S
57 3 16
processString()
S
59 3 14
parseBlocks()
S
61 3 12
processTranslationChunks()
S
62 3 11
registerFilters()
S
60 2 15
processTranslationAttributes()
S
61 2 12
getJson()
S
65 2 8
setAttributeValue()
S
68 2 7
__construct()
S
79 1 3
unpackData()
S
80 1 3
packData()
S
80 1 3
hasBlocks()
S
78 1 3
getPostContentBlocks()
S
80 1 3